package com.example.demo.util;

/**
 * 结果状态码集合
 *
 */
public class ResultCode {

    /**成功*/

    public static final String SUCCESS                 = "OK";

    /**异常*/
    public static final String EXCEPTION               = "exception";
    /**无效参数*/
    public static final String INVALID_PARAM           = "InvalidParam";
    /**内部错误*/
    public static final String INTERNAL_ERROR          = "InternalError";
    /**oss上传失败*/
    public static final String OSS_UPLOAD_ERROR        = "UploadError";
    /**oss bucket不存在*/
    public static final String OSS_BUCKET_NOT_FOUND    = "BucketNotFound";
    /**签名失败*/

    public static final String SIGN_ERROR              = "SignError";

    /** 工号密码错误*/
    public static final String WRONG_PASSWORD          = "WrongPassword";
    /** 工号不存在*/
    public static final String ACCOUNT_NOT_FOUND       = "AccountNotFound";
    /** 用户未登录*/
    public static final String ACCOUNT_NOT_LOGONED     = "AccountNotLogined";
    /** 该工号已登录过*/
    public static final String ACCOUNT_IS_LOGINED      = "AccountIsLogined";
    /** 该工号已登录过*/
    public static final String ACCOUNT_NOT_REGISTE     = "AccountNotRegiste";
    /** 验证码错误*/
    public static final String SMS_CODE_ERROR          = "SmsCodeError";
    /** 验证码已过期*/
    public static final String SMS_CODE_EXPIRED        = "SmsCodeExpired";
    /** 密码非法*/
    public static final String PWD_NOT_MATCHES         = "PwdNotMatched";

    /**session过期*/
    public static final String SESSION_EXPIRED         = "SessionExpired";
    /** refreshToken超时*/

    public static final String REFRESH_TOKEN_EXPIRE    = "RefreshTokenExpire";

    /** signNonce一致，重放攻击*/
    public static final String SIGNNONCE_ERROR         = "SignNonceError";
    /** reqTime过期*/
    public static final String REQUEST_DATED           = "RequestDated";
    /**
     * 数据不存在
     */
    public static final String DATA_NOT_FOUND          = "DataNotFound";

    public static final String NO_PRIVILEGE_FOR_DETAIL = "noPrivilegeForDetail";

    /** 异地登录*/

    public static final String OTHER_PLACE_LOGINED     = "OtherPlaceLogined";

    /**oss 上传图片过大*/
    public static final String OSS_PICTURE_TOO_LARGE   = "Picture is too large";

}